﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Improve157
{
    public class Chapter_03
    {

        public void Test()
        {
            List<String> List = new List<string>()
            { "11","22","33"};

            List.Find(value =>
            {
                return true;
            });

            string s1;

            Func<string>  f1 = new Func<string>(() => { return "12323"; });
            s1 = f1();

            Console.WriteLine(s1);

            string  s2 = new Func<string>(() => { return "12323"; }).Invoke();


            Console.WriteLine(s2);
        }


    }

    public class Zoo<T>
    {
        public Zoo()
        {
        }

        public string Name { get; set; }
    }
}
